package com.itheima.service;

import com.itheima.pojo.User;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;

public interface UserService {



    User findByName(String username);


    void register(String username, String password);

    void update(User user);

    void updateAvatar(String avatarUrl, Integer id);

    void updatePwd(String newPwd);
}
